package com.studentSystem.service;

import com.studentSystem.pojo.Teacher;
import com.studentSystem.utils.PageBeanUtil;

import java.util.List;

public interface TeacherService {
    Teacher findByPhoneNumber(String phoneNumber);

    Teacher findById(Long id);

    void register(String name, String password, String phoneNumber);

    void updatePwd(String newPwd);

    List<Teacher> list();

    void update(Teacher teacher);
}
